import { http } from '@/utils/http'

// 获取token
export const userLogin = (data) => {
  return http.post('/applet/login', data)
}

// 获取用户信息
export const getUserInfo = () => {
  return http.get('/getInfo')
}
